package com.shujia.abstract_.exer2;

public class ZBJ extends Heshang {
    @Override
    public void chizhai() {
        System.out.println("猪八戒 吃斋...");
    }

    @Override
    public void nianfou() {
        System.out.println("猪八戒 念佛...");
    }

    @Override
    public void qujing() {
        System.out.println("猪八戒 取经...");
    }

    public void qianma() {
        System.out.println("猪八戒 牵马...");
    }
}
